<?php

/**
 * system configurations
 *
 */

$config['index_page'] = ''; //use 'index.php' if htaccess not allowed
$config['basename'] = "/"; //it correspont to .htaccess BASENAME, leave empty if you are in document_root, or set /foldername/ (both slashes) if not
$config['url_method'] = "uri"; //alternative: "qs"  define if rapyd will use uri or query string for its semantic
$config['default_controller'] = 'index';
$config['default_method']     = 'index';


$config['include_paths'][]  = 'application';
$config['include_paths'][]  = 'modules/demo';


$config['root_path']  = getenv("DOCUMENT_ROOT"); // or './../../';

$config['include_paths'][]  = 'core';

$config['assets_path']     = RAPYD_PATH.'core/assets/';
$config['cache_path']      = RAPYD_ROOT.'cache/';
$config['locale_language'] = 'ru_RU';

$config['routes'] = array(
    //'(:any)' => 'index.php/$1',
	//'product/(:num)/:str' => 'catalogmodule/product/$1';
);

$config['db']['hostname'] = "localhost";
$config['db']['username'] = "root";
$config['db']['password'] = "spring";
$config['db']['database'] = 'mobishop';
$config['db']['dbdriver'] = "mysql";
$config['db']['dbprefix'] = "";
$config['db']['db_debug'] = true;
/**
 * custom configurations
 *
 */
$config['theme'] = RAPYD_ROOT.'application/views/themes/default';